package net.ncdesign.components.nodeWorkspace.core.base
{
	import net.ncdesign.components.nodeWorkspace.core.interfaces.INodeElement;
	
	public class NodeLink
	{
		[Bindable]
		private var _nodeIn:INodeElement;
		[Bindable]
		private var _nodeOut:INodeElement;
		[Bindable]
		private  var _selected:Boolean = false;
				
		public var name:String = '';
		
		public function get selected():Boolean
		{
			return _selected
		}
		
		public function set selected(value:Boolean):void
		{
			_selected = value;
		}
		
		public function get nodeIn():INodeElement
		{
			return _nodeIn;
		}
		
		public function set nodeIn(value:INodeElement):void
		{
			_nodeIn = value;
		}
		
		public function get nodeOut():INodeElement
		{
			return _nodeOut;
		}
		
		public function set nodeOut(value:INodeElement):void
		{
			_nodeOut = value;
		}
		
		public function NodeLink(linkName:String)
		{
			name = linkName;
		}

	}
}